if ('') { $prev = 'http://'.$_SERVER['HTTP_HOST'].'/search/title:mr and mrs x and mistress/'; } ?> if ('' == '1') { $prev = 'http://'.$_SERVER['HTTP_HOST'].'/search/title:mr and mrs x and mistress/1'; } ?> if ('' && '' <= 10) { $next = 'http://'.$_SERVER['HTTP_HOST'].'/search/title:mr and mrs x and mistress/'; } ?>